package com.mtsmda.webServices.rpcStyle.javapoint;

import java.text.SimpleDateFormat;
import java.util.Date;

import javax.jws.WebService;

@WebService(endpointInterface = "com.mtsmda.webServices.rpcStyle.javapoint.GetCurrentDateI")
public class GetCurrentDateImpl implements GetCurrentDateI {

	public String currentDate() {
		SimpleDateFormat simpleDateFormat = new SimpleDateFormat(
				"dd.MM.yyyy HH:mm:ss");
		return simpleDateFormat.format(new Date());
	}

}